package org.jeecg.modules.order.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 工单进度
 * @Author: jeecg-boot
 * @Date:   2022-09-19
 * @Version: V1.0
 */
@ApiModel(value="mt_repair_schedule对象", description="工单进度")
@Data
@Accessors(chain = true)
@TableName("mt_repair_schedule")
public class MtRepairSchedule implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**进度状态*/
	@Excel(name = "进度状态", width = 15, dicCode = "schedule_status")
    @Dict(dicCode = "schedule_status")
    @ApiModelProperty(value = "进度状态")
    private Integer scheduleStatus;
	/**进度时间*/
	@Excel(name = "进度时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "进度时间")
    private Date scheduleTime;
	/**工单*/
    @ApiModelProperty(value = "工单")
    private String orderId;
	/**工程师*/
	@Excel(name = "工程师", width = 15, dictTable = "mt_engineer", dicText = "engineer_name", dicCode = "id")
    @ApiModelProperty(value = "工程师")
    private String engnieerId;
	/**进度图片*/
	@Excel(name = "进度图片", width = 15)
    @ApiModelProperty(value = "进度图片")
    private String schedulePhoto;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String remarks;
}
